package org.feiye.studyday22.enumdemo;

public class TestLevel {
	public void choose(Level l) {
		switch (l) {
		case L1:
			System.out.println("初级");
			break;
		case L2:
			System.out.println("中级");
			break;
		case L3:
			System.out.println("高级");
			break;
		}
	}

	public static void main(String[] args) {
		TestLevel tl = new TestLevel();
		tl.choose(Level.L3);
	}
}
